#1-100的求和#
''''
sum=0
for i in range (1,101):
    sum=sum+i
print(sum)
'''
'''
#逢七过游戏#
for i in range(1,101):
   if i % 7==0 or'7'in str(i):
        print("**",end='\t')
   else:
       print(i,end="\t")
   if i%10==0:
       print("  ")
'''
"""
for i in range(1,101):
   if i % 7==0 or i%10==7 or i//10==7:
        print("**",end='\t')
   else:
       print(i,end="\t")
   if i%10==0:
       print("  ")
"""
"""
#猜数字
n=int(input("请输入1-100"))
for i in range(1,6):
    num = int(input('请输入一个数：'))  
    if num > n:
        print('很抱歉，猜大了！')
    elif num < n:
        print('很抱歉，猜小了！')
    else:  
        print('恭喜你，猜对了！')
        break
"""

n=int(input("请输入1-100"))
for i in range(1,6):
    num = input('请输入一个数：')
    if num.isdigit() is False:
        print("请输入正确的数字")
        continue
    if int(num) > int(n):
        print('很抱歉，猜大了！')
    elif int(num)< int(n):
        print('很抱歉，猜小了！')
    else:
        print('恭喜你，猜对了！')
        break

"""
#九九乘法表
for i in range(1,10):
    for j in range(1,i+1):
        d = i * j
        print('%d*%d=%-2d'%(i,j,d),end = ' ' )
    print()
"""
"""
choose=input("请输入一个数字")
if choose.isdigit() is False:
    print("请输入正确的数字")
choose=float(choose)
if choose>0:
    print("正数")
elif choose<0:
    print("负数")
else:
    print("为0")
"""